package com.iov.failure.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 故障列对象 tb_failure
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class TbFailure extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 故障类型 */
    @Excel(name = "故障类型")
    private String failureType;

    /** 故障组 */
    @Excel(name = "故障组")
    private String failureGroup;

    /** 故障位 */
    @Excel(name = "故障位")
    private String failurePosition;

    /** 故障值 */
    @Excel(name = "故障值")
    private String failureValue;

    /** 故障标签 */
    @Excel(name = "故障标签")
    private String failureTag;

    /** 故障码 */
    @Excel(name = "故障码")
    private String failureCode;

    /** 故障状态 */
    @Excel(name = "故障状态")
    private String failureStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFailureType(String failureType) 
    {
        this.failureType = failureType;
    }

    public String getFailureType() 
    {
        return failureType;
    }
    public void setFailureGroup(String failureGroup) 
    {
        this.failureGroup = failureGroup;
    }

    public String getFailureGroup() 
    {
        return failureGroup;
    }
    public void setFailurePosition(String failurePosition) 
    {
        this.failurePosition = failurePosition;
    }

    public String getFailurePosition() 
    {
        return failurePosition;
    }
    public void setFailureValue(String failureValue) 
    {
        this.failureValue = failureValue;
    }

    public String getFailureValue() 
    {
        return failureValue;
    }
    public void setFailureTag(String failureTag) 
    {
        this.failureTag = failureTag;
    }

    public String getFailureTag() 
    {
        return failureTag;
    }
    public void setFailureCode(String failureCode) 
    {
        this.failureCode = failureCode;
    }

    public String getFailureCode() 
    {
        return failureCode;
    }
    public void setFailureStatus(String failureStatus) 
    {
        this.failureStatus = failureStatus;
    }

    public String getFailureStatus() 
    {
        return failureStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("failureType", getFailureType())
            .append("failureGroup", getFailureGroup())
            .append("failurePosition", getFailurePosition())
            .append("failureValue", getFailureValue())
            .append("failureTag", getFailureTag())
            .append("failureCode", getFailureCode())
            .append("failureStatus", getFailureStatus())
            .toString();
    }
}
